﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ViewCountries.aspx.cs" Inherits="Admin_ViewCountries"
    MasterPageFile="~/Admin/AdminMasterPage.master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="pnlMain" runat="Server">
    <br />
    <a href="addeditCountry.aspx">Add Country</a><br />
    <p class="h2">
        Manage Country List</p>
    <div id="divError" runat="server">
    </div>
    <div class="divGrid">
        <asp:GridView ID="gvCountry" runat="server" AutoGenerateColumns="False" EmptyDataText="No Record Found"
            DataKeyNames="CountryID"
            OnRowDataBound="gvCountry_RowDataBound">
            <Columns>
                <asp:BoundField DataField="CountryName" HeaderText="Country Name" />
                <asp:BoundField DataField="ISOCode" HeaderText="Country Code" />
                <asp:HyperLinkField DataNavigateUrlFields="CountryID" DataNavigateUrlFormatString="addeditCountry.aspx?id={0}"
                    Text="Edit" ItemStyle-Width="30" />
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
